package com.example.bakend.mapper;

import com.example.bakend.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select * from admin where admin_id = #{adminId}")
    Admin selectAdmin(Integer adminId);


    Admin login(Admin admin);


}
